package com.dashu.base.enums.common.functionAM;



import java.util.HashMap;
import java.util.Map;

public enum AttendanceAM {


    ATTENDANCE_GROUP("考勤组设置","attendance/statistics","statistics",""),

    ATTENDANCE_RULE("考勤规则设置","attendance/regulation","regulation",""),

    GATE_GROUP("闸机组设置","attendance/brakeunit","brakeunit",""),

    GATE_RULE("闸机规则设置","attendance/brakemachine","brakemachine",""),

    TEACHER_ATTENDANCE("教师考勤列表","attendance/teachattendance","teachattendance",""),

    STUDENT_ATTENDANCE("学生考勤列表","attendance/stuattendance","stuattendance",""),

    STUDENT_LEAVE("学校请假列表","attendance/stuask","stuask","");


    public String name;

    public String url;

    public String path;

    public String icon;


    AttendanceAM(String name, String url, String path, String icon) {
        this.name = name;
        this.url = url;
        this.path = path;
        this.icon = icon;
    }

    public static final Map<String, AttendanceAM> map = new HashMap<>();

    static {
        for (AttendanceAM s : AttendanceAM.values()) {
            map.put(s.name(), s);
        }
    }
}
